<template>
    <div class="myTopBar clearfix">
        <div class="left flex">
            <div class="bg"><img src="../../assets/images/my/bg.png" alt=""></div>
            <div class="text">
                <div class="login">注册/登录</div>
                <div class="card">黑卡会员： 2019-2010</div> 
            </div>
        </div>
        <div class="right">
            <div class="jifen">积分：888888</div>
            <div class="xufei">自动续费</div>
        </div>
    </div>
</template>


<script>
export default {
    data(){
        return{

        }
    }
}
</script>


<style lang="less">
    .myTopBar{
        width:100%;
        height: 2.3rem;
        background:linear-gradient(to top,#EF191C 0%,#E60106 100%);
        // border: 1px solid blue;
        .left{
            // float: left;
            // border: 1px solid yellow;
            margin-top: 0.7rem;
            img{
                width: 1.6rem;
                height: 1.6rem;
                margin-left: 0rem;
                // border: 1px solid blue;
            }
            .text{
                margin-top: 0.3rem;
                text-align: left;
                margin-left: 0rem;
                .login{
                    font-size: 0.36rem;
                    color: #fff;
                }
                .card{
                    margin-top: 0.1rem;
                    font-size: 0.2rem!important;
                    color: #fff;
                }
            }

        }
        .right{
            margin-top: 1.1rem;
            margin-right: 0.56rem;
            // border: 1px solid green;
            font-size: 0.2rem;
            color: #fff;
            position: relative;
            .xufei{
                margin-top: 0.1rem;
                color: #F14D50;
                position: absolute;
                right: -0.25rem;
                // border: 1px solid blue;

            }
        }
    }
    
</style>